#!/usr/bin/env python
from Engine.NonPhysics_object import NonPhysics_object as NP_o

class Pickup(NP_o):
    def _init_(self, level, x, y, image):
        self.init(level, x, y, image)
    
    def collision_other(self, other):
        if self.level.player == other:
            self.on_pickup()
            self.level.remove(self, self.region)
            
    def on_pickup(self):
        pass